Optimal. Leaf size=54 \[ \frac{x^{m+1} \left (a+b x^n\right )^{p+1} \, _2F_1\left (1,\frac{m+1}{n}+p+1;\frac{m+n+1}{n};-\frac{b x^n}{a}\right )}{a (m+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.018242, antiderivative size = 62, normalized size of antiderivative = 1.15, number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {365, 364} \[ \frac{x^{m+1} \left (a+b x^n\right )^p \left (\frac{b x^n}{a}+1\right )^{-p} \, _2F_1\left (\frac{m+1}{n},-p;\frac{m+n+1}{n};-\frac{b x^n}{a}\right )}{m+1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 365
Rule 364
Rubi steps
\begin{align*} \int x^m \left (a+b x^n\right )^p \, dx &=\left (\left (a+b x^n\right )^p \left (1+\frac{b x^n}{a}\right )^{-p}\right ) \int x^m \left (1+\frac{b x^n}{a}\right )^p \, dx\\ &=\frac{x^{1+m} \left (a+b x^n\right )^p \left (1+\frac{b x^n}{a}\right )^{-p} \, _2F_1\left (\frac{1+m}{n},-p;\frac{1+m+n}{n};-\frac{b x^n}{a}\right )}{1+m}\\ \end{align*}
Mathematica [A] time = 0.0161292, size = 63, normalized size = 1.17 \[ \frac{x^{m+1} \left (a+b x^n\right )^p \left (\frac{b x^n}{a}+1\right )^{-p} \, _2F_1\left (\frac{m+1}{n},-p;\frac{m+1}{n}+1;-\frac{b x^n}{a}\right )}{m+1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.11, size = 0, normalized size = 0. \begin{align*} \int{x}^{m} \left ( a+b{x}^{n} \right ) ^{p}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b x^{n} + a\right )}^{p} x^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (b x^{n} + a\right )}^{p} x^{m}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 10.1873, size = 54, normalized size = 1. \begin{align*} \frac{a^{p} x x^{m} \Gamma \left (\frac{m}{n} + \frac{1}{n}\right ){{}_{2}F_{1}\left (\begin{matrix} - p, \frac{m}{n} + \frac{1}{n} \\ \frac{m}{n} + 1 + \frac{1}{n} \end{matrix}\middle |{\frac{b x^{n} e^{i \pi }}{a}} \right )}}{n \Gamma \left (\frac{m}{n} + 1 + \frac{1}{n}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b x^{n} + a\right )}^{p} x^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]